<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
%>
<html>
<head>
    <title>个人中心-关注</title>
</head>
<body>
<c:forEach items="${requestScope.pageInfo.list}" var="attention">
    <li class="attention-item trans">
        <div class="img-box">
            <a href="<%=path%>/web/information/showList?id=${attention.information.id}" target="_parent"><img src="<%=path %>/web/uploadImages/${attention.information.pic}" width="150px" height="150px"></a>
        </div>
        <article class="attention-introduce">
            <h3 class="ellipsis"><a href="javascript:void(0)">${attention.information.name}</a></h3>
            <h3>${attention.information.sex}</h3>
            <h3>${attention.lostType.title}</h3>
        </article>
        <div data-id="${attention.information.id}" class="close-favorite">&times;</div>

    </li>
</c:forEach>

<!-- 分页begin -->
<div class="pagination-box-row" style="bottom:0px;position:absolute;width:830px">

    <p>
    <div class="meneame">
        <%--            <c:if test="${requestScope.pageInfo.pageNum eq 1}" var="result">--%>
        <%--                <span class="disabled"> < </span>--%>
        <%--            </c:if>--%>
        <%--            <c:if test="${not result}">--%>
        <%--                <a href="" data-id="${requestScope.pageInfo.pageNum}> < </a>--%>
        <%--            </c:if>--%>

        <c:forEach begin="1" end="${requestScope.pageInfo.pages}" var="i">
            <c:if test="${requestScope.pageInfo.pageNum eq i}" var="isCur">
                <a class="current" data-id="${i}">${i}</a>
            </c:if>
            <c:if test="${not isCur}">
                <a href="#" data-id="${i}">${i}</a>
            </c:if>
        </c:forEach>
        <%--             <a href="#?page=2"> > </a>--%>
    </div>
    </p>

</div>
</body>
</html>
